package com.lianwei.hospital.Service;

import com.lianwei.hospital.module.entity.IllInfo;
import com.lianwei.hospital.module.entity.LiveInfo;
import com.lianwei.hospital.module.vo.IllVO;
import com.lianwei.hospital.module.vo.LiveVO;
import com.lianwei.hospital.utils.PageUtil;

import java.util.List;

public interface LiveInfoService {
    LiveInfo selectByPrimaryKey(Long id) throws Exception;
    boolean insert(LiveInfo liveInfo) throws Exception;
    List<LiveInfo> selectAll() throws Exception;
    boolean deleteByPrimaryKey(Long id) throws Exception;
    boolean updateByPrimaryKey(LiveInfo liveInfo) throws Exception;
    /**
     * 按条件分页查询
     * @param query
     * @return
     * @throws Exception
     */
    PageUtil<LiveInfo> findPage(LiveVO query) throws Exception;

}
